

    <script type="text/javascript">
        function onOrder(){
            var o=document.getElementById("orderNum");
            if(o.value!=""&&parseInt(o.value)>0){
                location.href='<?php echo site_url("/ticket/ticketOrder/$id")?>/'+o.value;
            }
        }
        function onAdd(strV){
            var o=document.getElementById("orderNum");
            if(strV=="-"){
                if(parseInt(o.value)>1){
                    o.value=parseInt(o.value)-1;
                }
            }else if(strV=="+"){
                o.value=parseInt(o.value)+1;
            }
        }
    </script>
<div class="twidth">
      <div id="position"><a href="/index.aspx">首页</a>&nbsp;&gt;&nbsp;<a href="<?php echo site_url('/ticket');?>">温泉门票</a>&nbsp;&gt;&nbsp;<?php echo $current_title;?></div>
      <div id="middle" class="clear">
        <div class="conL">
          <div id="tripshow">
            <h1><?php echo $current_title;?></h1>
            <div class="blank0"></div>
			
            <div class="bigimg"> <img src="<?php echo $pics;?>" alt="" height="216" width="300">
            <div class="blank10"></div>
              <div id="share">分享至：<a href="javascript:void(0)" name="qq" title="转播到腾讯微博"><img src="/images/share/qq.png" align="absmiddle" border="0" alt="转播到腾讯微博"></a> <a href="javascript:void(0)" name="sina" title="转播到新浪微博"><img src="/images/share/sina.gif" align="absmiddle" border="0" alt="转播到新浪微博"></a> <a href="javascript:void(0)" name="qzone" title="分享到QQ空间"><img src="/images/share/qzone.gif" align="absmiddle" border="0" alt="分享到QQ空间"></a> <a href="javascript:void(0)" name="renren" title="分享到人人网"><img src="/images/share/renren.gif" align="absmiddle" border="0" alt="分享到人人网"></a> <a href="javascript:void(0)" name="163" title="转播到网易微博"><img src="/images/share/163.gif" align="absmiddle" border="0" alt="转播到网易微博"></a> <a href="javascript:void(0)" name="kaixin" title="分享到开心网"><img src="/images/share/kaixin.gif" align="absmiddle" border="0" alt="分享到开心网"></a> <a href="javascript:void(0)" name="douban" title="分享到豆瓣"><img src="/images/share/douban.png" align="absmiddle" border="0" alt="分享到豆瓣"></a> <a href="javascript:void(0)" name="qqpeng" title="分享到腾讯朋友"><img src="/images/share/pengyou.png" align="absmiddle" border="0" alt="分享到腾讯朋友"></a> <a href="javascript:void(0)" name="baidu" title="分享到百度i贴吧"><img src="/images/share/baidu.png" align="absmiddle" border="0" alt="分享到百度i贴吧"></a> <a href="javascript:void(0)" name="taobao" title="分享到淘江湖"><img src="/images/share/taobao.png" align="absmiddle" border="0" alt="分享到淘江湖"></a></div>
            </div>
            <div class="simple f14">
              <dl>
                <dt>现售价：</dt>
                <dd><font style=" font-size:20px; font-weight:bold; color:#cc0000;"><?php echo $TicketInfo["info"][0]->pricePer;?></font>，<del><?php echo $TicketInfo["info"][0]->otherPrice;?></del> 元/张</dd>
              </dl>
              <dl>
                <dt>订购数量：</dt>
                <dd>
                  <input type="text" id="orderNum" value="1"> 张
                </dd>
              </dl>
              <dl style="display:none;">
                <dt>浏览次数：</dt>
                <dd>0 次</dd>
              </dl>
              <dl>
                <dt>添加时间：</dt>
                <dd><?php echo date("Y-m-d H:i:s",$TicketInfo["info"][0]->create_time);?></dd>
              </dl>
    <!--          <dl>
                <dt>游玩天数：</dt>
                <dd>1 天</dd>
              </dl>-->
              <dl>
                <dt>目的地：</dt>
                <dd><?php echo $CityClass['city_name'][$cityId];?></dd>
              </dl>
              
              <dl>
                <dt>&nbsp;</dt>
                <dd>
                  <input type="button" value="预订 &nbsp;》" onclick="javascript:onOrder();" class="btn_g">&nbsp;<a class="btn" onclick="openWin('短信收藏','/sms.aspx?Tip=win',500,300,1);">短信收藏</a>
                  </dd>
              </dl>
            </div>
            <div class="blank16"></div>
            <div class="mbox">
              <div class="titcon">
                <li class="On" onmouseover="tab(this,0,0)">
                  <h4>行程说明</h4>
                </li>
                <li class="Off" onmouseover="tab(this,1,0)">
                  <h4>产品特色</h4>
                </li>
                <li class="Off" onmouseover="tab(this,2,0)">
                  <h4>费用说明</h4>
                </li>
                <li class="Off" onmouseover="tab(this,3,0)">
                  <h4>重要提示</h4>
                </li>
                <li class="Off" onmouseover="tab(this,4,0)">
                  <h4>目的地信息</h4>
                </li>
              <a class="moreR">全部</a></div>
              <div class="cont">
                <dl id="etrip_0">
                  <dt>行程说明</dt>
                  <dd><?php echo $TicketInfo["info"][0]->introduction?></dd>
                </dl>
                <dl id="etrip_1">
                  <dt>产品特色</dt>
                  <dd><?php echo $TicketInfo["info"][0]->item?></dd><!--特色-->
                </dl>
                <dl id="etrip_2">
                  <dt>费用说明</dt>
                  <dd></dd>
                </dl>
                <dl id="etrip_3">
                  <dt>重要提示</dt>
                  <dd></dd>
                </dl>
                <dl id="etrip_4">
                  <dt>目的地信息</dt>
                  <dd></dd>
                </dl>
              </div>
            </div>
          </div>
        </div>
        <div class="conR"> 
          <!--最新预订-->
          <div class="lbox">
            <div class="titcon"> <em>最新预订</em> </div>
            <div class="cont"> 
            <ul class="picsum clear">
				<?php foreach($LastTicketOrder["list"] as $item){
						$pics="";$links="";
						if(!empty($LastTicketOrder['arr'][$item->tid])){
							$pics=$this->platform->file_url($LastTicketOrder['arr'][$item->tid][0]->folder.'/'.$LastTicketOrder['arr'][$item->tid][0]->name.'.'.$LastTicketOrder['arr'][$item->tid][0]->type);
						}
						$links=site_url()."/ticket/show/".$item->tid;			
						if(!$pics){$pics="img/nopic.jpg";}
						$timediff=(int)((time()-$item->create_time)/(3600*24));	//预定时间减当前时间
						$timeType="天前";
						if($timediff==0){
							$timediff=(int)((time()-$item->create_time)/(3600));
							$timeType="小时前";
							if($timediff==0){
								$timediff="刚刚";
								$timeType="";						
							}
							
						}
				?>				
				<li><img height="64" src="<?php echo $pics;?>" width="94"><p>用户：匿名<br><?php echo $timediff.$timeType;?>预订了:<br><a class="bulk" href="<?php echo $links;?>"><?php echo $item->ticketTitle?></a></p></li><br>
				<?php }?> 
            </ul>
            </div>
            <div class="bot">
              <div class="in"></div>
            </div>
          </div>
          <!--/最新预订--> 
        </div>
      </div>
      
      <dl id="footguide">
<dt>旅游网站</dt>
<dd><li>价格实惠<br>支付方便</li>
<li>强强联手<br>优质服务</li>
<li>全球品牌<br>安全保证</li>
<li>全天客服<br>实时在线</li>
<li>流程简单<br>操作方便</li></dd>
</dl>
</div>
<div id="footer">
  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>
  <div class="copy"><p>
	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br>
	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br>
	Copyright © XXXX公司 &nbsp; ICP备000000号</p></div>
</div>
<div id="bodybg"></div>
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('img,.png');
</script>
<![endif]-->

<script type="text/javascript">
	var title = "北戴河碧螺塔酒吧公园";//信息标题
	var sum= "，现售价：20，游玩天数：1，出发/目的地：";//信息简介
	var url = encodeURIComponent(document.location);
	var pic=$(".bigimg").find("img:first").attr("src");//图片
	shareMe(title,sum,url,pic);
</script>


</body></html>